home *** CD-ROM | disk | FTP | other *** search
/ Internet Warrior 1993 July / Internet Warrior No. 1 July 1993 - Austin Code Works.ISO / docs / faq / tex_faq.z / tex_faq
Encoding:
Internet Message Format  |  1992-12-26  |  53.8 KB

  1. Xref: bloom-picayune.mit.edu comp.text.tex:23089 news.answers:3998
  2. Path: bloom-picayune.mit.edu!snorkelwacker.mit.edu!news.media.mit.edu!micro-heart-of-gold.mit.edu!news.bbn.com!olivea!sun-barr!ames!data.nas.nasa.gov!mustang.mst6.lanl.gov!nntp-server.caltech.edu!hot.caltech.edu!bobby
  3. From: bobby@hot.caltech.edu (Bobby Bodenheimer)
  4. Newsgroups: comp.text.tex,news.answers
  5. Subject: TeX, LaTeX, etc.: Frequently Asked Questions with Answers [Monthly]
  6. Keywords: monthly faq
  7. Message-ID: <tex-faq_721592565@hot.caltech.edu>
  8. Date: 12 Nov 92 18:24:33 GMT
  9. Expires: 10 Jan 1993 18:22:45 GMT
  10. Reply-To: bobby@hot.caltech.edu
  11. Followup-To: comp.text.tex
  12. Organization: California Institute of Technology, Pasadena, CA.
  13. Lines: 1021
  14. Approved: news-answers-request@MIT.Edu
  15. Supersedes: <tex-faq_718421769@hot.caltech.edu>
  16. NNTP-Posting-Host: dry.mu.caltech.edu
  17. Originator: bobby@dry.mu.caltech.edu
  18.  
  19. Archive-name: tex-faq
  20.  
  21. Comp.text.tex is a forum for the discussion of TeX, LaTeX and other
  22. related things. TeX is a software system written by Donald Knuth to
  23. typeset text, especially text containing mathematics. LaTeX is a set
  24. of macros written in TeX, designed to simplify the the typesetting of
  25. a document by allowing the user to concentrate on the content and
  26. structure of the document rather than the exact appearance of the
  27. finished product. METAFONT, also discussed here, is a program which
  28. allows the user to design their own fonts. The definitive reference
  29. for TeX is _The TeXbook_, by Donald Knuth (Addison Wesley, 1984, ISBN
  30. 0-201-13447-0, paperback 0-201-13448-9). For LaTeX, see _LaTeX, a
  31. Document Preparation System_ by Leslie Lamport (Addison Wesley, 1986,
  32. ISBN 0-201-15790-X). For METAFONT, see _The METAFONTbook_ by Donald
  33. Knuth (Addison Wesley, 1984, ISBN 0-201-13445-4).
  34.  
  35. This article contains answers to some frequently asked questions on
  36. comp.text.tex. Please don't ask these questions again, as they've been
  37. answered many times before. Note that Guoying Chen
  38. (chenguo@spunky.cs.nyu.edu) posts the monthly document ``Supplementary 
  39. TeX Information'' to this newsgroup containing other information and 
  40. software relevant to TeX users but beyond the scope of this article.
  41.  
  42. This is version 1.32 for November, last changed 11/12/92.
  43.  
  44. This article includes answers to:
  45.  
  46.   1) How can I get a copy of this article?
  47.   2) Where can I get a DVI to PostScript conversion program?
  48.   3) How can I include a PostScript figure in LaTeX?
  49.   4) Where can I find a DVI previewer for machine Y running Q?
  50.   5) Where can I get the manual for PiCTeX?
  51.   6) What is VorTeX and where can I get it?
  52.   7) What is OzTeX and where can I get it (TeX for the Mac)?
  53.   8) What is Fig and where can I get it?
  54.   9) How do I get WEB for C, FORTRAN, or some other language?
  55.   10) How can I typeset music in TeX?
  56.   11) What is TUG and TUGboat?
  57.   12) How do I convert Adobe's afm files to tfm format?
  58.   13) In LaTeX, how do I get a double-spaced document?
  59.   14) In LaTeX, how do I include a file in the verbatim environment?
  60.   15) In LaTeX, how do I do Y?
  61.   16) Where can I find a TeX macro or LaTeX style file for doing Y?
  62.   17) How do I generate an index in TeX/LaTeX?
  63.   18) How do I get METAFONT to do what I want it to do?
  64.   19) Where do I get TeX/LaTeX for machine Y running Q?
  65.   20) Where can I get a thesis style for LaTeX?
  66.   21) How do I get symbols for ``the real numbers'', ``the complex numbers'',
  67.       and so on?
  68.   22) What repositories of TeX material are available, and how can I
  69.       access them?
  70.   23) How do I use PostScript fonts with LaTeX?
  71.   24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  72.   25) How do I get a file into the major style repositories?
  73.   26) Where can I get font Y?
  74.   27) Where can I get a dvi driver for the HP LaserJet?
  75.   28) TeX and LaTeX are hyphenating words weirdly. What can I do?
  76.   29) How can I convert a TeX or LaTeX file into a plain ASCII file,
  77.       with all the formatting intact, a la nroff?
  78.   30) How do I enlarge TeX? I keep getting ``memory capacity exceeded''
  79.       errors.
  80.   31) In LaTeX, I used \pagestyle{empty}, but the first page is still 
  81.       numbered. What do I do?
  82.   32) Where do I find documentation about BibTeX?
  83.   33) How do I use BibTeX with plain TeX?
  84.   34) How do I draw Feynman diagrams in LaTeX?
  85.   35) What is the New Font Selection Scheme (NFSS)?
  86.   36) In LaTeX, my cross-references for floats (figures and tables) are
  87.       incorrect. What's wrong?
  88.   37) I want to change the margins in LaTeX. What can I do?
  89.  
  90. If you are looking, for instance, for the answer to question 17, and wish
  91. to skip everything else, you can search ahead for the regular expression
  92. ``^17)''.
  93.  
  94. These are all legitimate questions, but they seem to appear too 
  95. frequently for long-time readers of the list. 
  96.  
  97. Many of the answers below tell you that you can obtain something
  98. through anonymous ftp. ``Ftp'' stands for file transfer protocol, and
  99. is also the name of a program implementing the protocol. The program
  100. allows users to transfer files to and from remote sites, if the sites
  101. are connected via a network such as the Internet. ``Anonymous ftp'' 
  102. indicates a user may connect to a remote site as the user 
  103. ``anonymous'' with a password consisting of their email address, and
  104. thus be able to retrieve files from that site. Remember, anonymous
  105. ftp is a privilege and the system administrators for these sites 
  106. have made these files available out of their own generosity. Therefore
  107. please restrict your ftp'ing to non-prime hours at the various sites.
  108.  
  109. I would like to acknowledge Don Hosek, Ken Yap, Tomas Rokicki, and
  110. Micah Beck, whose postings provided many of the answers. Joe Weening,
  111. Hal Perkins, Walter Carlip, Max Hailpern, Tad Guy, Raymond Chen,
  112. Henning Schulzrinne, Sebastian Rahtz, Mark James, Peter Galko, Mike
  113. Ernst, Rainer Sch\"opf, Oren Patashnik, Philippe Louarn, Rafal
  114. Zbikowski, Anita Marie Hoover, David Rhead, Darrell McCauley, Cameron
  115. Smith, and Emma Pease provided additional material and criticisms. The
  116. format of this document is based on the Frequently Asked Questions
  117. appearing in comp.unix.wizards, and written by Steve Hayman. Any
  118. mistakes are mine.  Send corrections, suggestions, and additions to
  119. bobby@hot.caltech.edu.
  120.  
  121. 1) How can I get a copy of this article?
  122.  
  123.    You're reading it aren't you? SAVE it :-). Seriously, though, this
  124.    article is posted monthly to comp.text.tex and cross-posted to 
  125.    news.answers. It is therefore archived at any site that archives 
  126.    news.answers. News.answers is archived on pit-manager.mit.edu 
  127.    (18.172.1.27), and this article is available there via anonymous ftp 
  128.    in the directory ./pub/usenet/news.answers/tex-faq. If you do not 
  129.    have anonymous ftp, send an e-mail message containing the lines 
  130.    ``SENDME FAQ.'' to fileserv@shsu.edu (fileserv@shsu.bitnet). Another
  131.    way to retrieve it via email is through the mailserver at pit-manager: 
  132.    send a message containing the lines ``help'' and ``index'' to 
  133.    mail-server@pit-manager.mit.edu for information on how to obtain it. 
  134.  
  135.    Other news.answers/FAQ archives are: cnam.cnam.fr (192.33.159.6) in
  136.    the anonymous ftp directory /pub/FAQ; ftp.uu.net (137.39.1.2 or
  137.    192.48.96.2) in the anonymous ftp directory /pub/usenet (also
  138.    available via mail server requests to netlib@uunet.uu.net, or via
  139.    uunet's 1-900 anonymous UUCP phone number); and ftp.cs.ruu.nl
  140.    (131.211.80.17) in the anonymous ftp directory NEWS.ANSWERS (also
  141.    accessible via mail server requests to mail-server@cs.ruu.nl). Many
  142.    of the archives mentioned in question 22 also maintain current
  143.    versions of this article.
  144.  
  145. 2) Where can I get a DVI to PostScript conversion program?
  146.  
  147.    Two very nice DVI to PostScript conversion programs that run
  148.    under Unix are:
  149.      dvips - by Tomas Rokicki. This driver is very nice and
  150.        has the ability to deal with virtual fonts. Available 
  151.        via anonymous ftp from labrea.stanford.edu (36.8.0.47) 
  152.        in ./pub. Dvips ports easily to other operating systems.
  153.        It is available for VMS via anonymous ftp from 
  154.        ymir.claremont.edu (134.173.4.23) in [.tex.drivers.dvips_new] 
  155.        and also through the DECUS library (see question 22). A
  156.        precompiled version for MSDOS is available from 
  157.        monu1.cc.monash.edu.au (130.194.1.101) in ./pub/dvips54.zip
  158.        or from shape.mps.ohio-state.edu (128.146.7.200) in
  159.        ./pub/msdos/dvips/dvips54.zip. If you wish to use postscript
  160.        fonts, get dvipslib.zip as well. Documentation is available
  161.        in dvips.ps.Z.
  162.      dvitops - by James Clark. Available via anonymous ftp from
  163.        ymir.claremont.edu (134.173.4.23) in [anonymous.tex.drivers.dvitops]. 
  164.        Dvitops will compile under Unix, MSDOS, VMS, and Primos.
  165.  
  166. 3) How can I include a PostScript figure in LaTeX?
  167.  
  168.    Perhaps the best way to do this is to use the psfig macros written
  169.    by Trevor Darrell. They are available via anonymous ftp from
  170.    whitechapel.media.mit.edu (18.85.0.125) in ./pub/psfig. You 
  171.    will also need a dvi to PostScript conversion program that supports
  172.    \specials. The ones mentioned in question 2 do, and the first two
  173.    drivers come with a version of psfig ready to use with them. The psfig 
  174.    macros work best with Encapsulated PostScript Files (EPS). In
  175.    particular, psfig will need the file to have a BoundingBox (see
  176.    Appendix C of the _PostScript Language Reference Manual_). If you 
  177.    don't have an EPS file, life can be difficult. For people who don't
  178.    have ftp access or can't deal with tar files, the files are also
  179.    available from ymir.claremont.edu (134.173.4.23) in
  180.    [anonymous.tex.graphics.psfig].
  181.  
  182.    One further note about including PostScript figures is that they
  183.    are not part of the dvi file, but are included when you use a dvi
  184.    to PostScript conversion program. As a result, most dvi previewers
  185.    will simply show the blank space TeX has reserved for your figure,
  186.    not the figure itself.
  187.  
  188. 4) Where can I find a DVI previewer for machine Y running Q?
  189.  
  190.    This briefly lists some previewers available via anonymous ftp:
  191.       dvipage - For SunView. This was published in volume 15 of 
  192.         comp.sources.unix and is available at sites that archive
  193.         this. One such source is archive.cis.ohio-state.edu 
  194.         (128.146.8.52).
  195.       xtex - For the X Window System. Available via anonymous ftp 
  196.         from ftp.cs.colorado.edu (128.138.243.151) in 
  197.         ./pub/cs/misc/SeeTeX/SeeTeX/SeeTeX-*.tar.Z.
  198.       dviapollo- for Apollo Domain. Available via anonymous ftp from
  199.         labrea.stanford.edu (36.8.0.47) in ./pub/dviapollo.tar.Z.
  200.       dvidis - For VAXstation VWS. Available via anonymous ftp from
  201.         src.doc.ic.ac.uk (146.169.2.1) in /packages/tex/dviware/dvidis.
  202.       xdvi - Also for the X Window System. Available via anonymous ftp
  203.         from export.lcs.mit.edu (18.24.0.12) in ./contrib/xdvi.tar.Z.
  204.       dvitovdu - for Tektronix 4010 and other terminals under Unix.
  205.         Available via anonymous ftp from wsmr-simtel20.army.mil
  206.         (192.88.110.20) in the directory pd6:<unix-c.printers> as
  207.         dvi2vdu.tar-z (ftp in ``tenex'' mode). A C version is also
  208.         available from ymir.claremont.edu (134.173.4.23) in
  209.         [anonymous.tex.drivers.dvitovdu_c_1].
  210.       dvi2tty - A dvi to ASCII conversion program, for normal terminals.
  211.         Available from ftp.cs.ruu.nl (131.211.80.17) in 
  212.         ./pub/TEX/DVI/dvi2tty.shar. A VMS version is available from
  213.         fileserv@shsu.edu (see question 22).
  214.       texsgi - For SGI under Irix. Available via anonymous ftp from 
  215.         ftp.brl.mil (128.63.16.158) in ./info-iris/tex. Both a binary 
  216.         and source are available, but be sure to get the fonts as well.
  217.    
  218. 5) Where can I get the manual for PiCTeX?
  219.  
  220.    The PiCTeX manual is not free. It is available for $30 ($35 with the
  221.    disk) from the TeX Users Group:
  222.                      TeX Users Group
  223.                      P. O. Box 9506
  224.                      Providence, RI 02940 (USA)
  225.                      401-751-7760
  226.                      tug@math.ams.com
  227.  
  228.    The proceeds from this sale go to Michael Wichura, the author of PiCTeX,
  229.    and TUG.
  230.  
  231. 6) What is VorTeX and where can I get it?
  232.  
  233.    VorTeX is a package of programs written at the University of California.
  234.    It includes several nice previewers and some Emacs modes for TeX and
  235.    BibTeX. It is not free. Inquiries should be directed to 
  236.    vortex@ucbarpa.berkeley.edu or
  237.         Professor Michael A. Harrison
  238.         Att. Vortex Dist.
  239.         Computer Science Division
  240.         University of California
  241.         Berkeley, CA 94720
  242.    Actually, the emacs modes are freely available separate from VorTeX
  243.    itself. They are available via anonymous ftp as vortex-macros.tar.Z
  244.    from a.cs.uiuc.edu (128.174.252.1) in ./pub/TeX.
  245.  
  246. 7) What is OzTeX and where can I get it (TeX for the Mac)?
  247.  
  248.    OzTeX is a public domain version of TeX for the Macintosh. A DVI
  249.    Previewer and PostScript driver are also included. It should run on
  250.    any Macintosh Plus, SE, II, or newer model, but will not work on a
  251.    128K or 512K Mac. It was written by Andrew Trevorrow, and is available 
  252.    via anonymous ftp from from midway.uchicago.edu (128.135.12.73) in 
  253.    ./pub/OzTeX, which contains other public domain TeX-related software 
  254.    for the Mac as well, or on a floppy disk from TUG (see question 11). 
  255.    Questions about OzTeX may be directed to oztex@midway.uchicago.edu.
  256.    
  257. 8) What is Fig and where can I get it?
  258.  
  259.    Fig is a menu driven tool similar to MacDraw that allows you to 
  260.    draw objects on the screen of a Sun Workstation running SunView.
  261.    TransFig is a set of tools which translate the code fig produces
  262.    to other graphics languages including PostScript and the LaTeX
  263.    picture environment. Both are available via anonymous ftp from
  264.    ftp.cs.cornell.edu (128.84.218.75) in ./pub/fig. Both Fig and
  265.    TransFig are also available from the Clarkson archive server at 
  266.    sun.soe.clarkson.edu (see question 22). Both Fig and TransFig 
  267.    are supported by Micah Beck (beck@cs.cornell.edu).
  268.  
  269.    XFig is essentially the same program except it runs under the
  270.    X Window System. It is available via anonymous ftp from 
  271.    export.lcs.mit.edu (18.24.0.12) in 
  272.    ./contrib/R5fixes/xfig-patches/xfig-2.1.*.Z. It was written by 
  273.    Brian Smith.
  274.  
  275. 9) How do I get WEB for C, FORTRAN, or some other language?
  276.  
  277.    There is a version of WEB for C called CWEB written by Silvio Levy. It
  278.    is available via anonymous ftp from princeton.edu (128.112.128.1) in 
  279.    the directory ./pub/cweb.
  280.  
  281.    There is a version of WEB called Spidery WEB which supports many 
  282.    languages including ADA, awk, and C. It was written by Norman Ramsey 
  283.    and, while not in the public domain, is usable free for research 
  284.    purposes. It is available via anonymous ftp from princeton.edu in 
  285.    ./pub/spiderweb.tar.Z.
  286.  
  287.    There is a version of WEB called FWEB for Fortran, Ratfor, and C 
  288.    written by John Krommes (krommes@lyman.pppl.gov). Version 1.13 is
  289.    available via anonymous ftp from lyman.pppl.gov (192.55.106.129)
  290.    in ./pub/fweb.
  291.  
  292.    SchemeWEB is a Unix filter that translates SchemeWEB into LaTeX source
  293.    or Scheme source. It was written by John Ramsdell and is available from
  294.    the Clarkson archive (see question 22) in ./submit/schemeweb.sh.
  295.  
  296.    All of the above are also available from ymir.claremont.edu 
  297.    (134.173.4.23) in [anonymous.tex.utilities].
  298.  
  299. 10) How can I typeset music in TeX?
  300.  
  301.     A package called MuTeX, written by Andrea Steinbach and Angelika
  302.     Schofer, aids in doing this. It is available via anonymous ftp from
  303.     ftp.cs.ruu.nl (131.211.80.17) in pub/TEX/MuTeX.tar.Z and from
  304.     ymir.claremont.edu (134.173.4.23) in [anonymous.tex.music.mtex].
  305.     This package allows you to typeset single-staff music and lyrics.
  306.  
  307.     A more powerful package which allows the typesetting of orchestral
  308.     and polyphonic music is MusicTeX, written by Daniel Taupin 
  309.     (taupin@frups51.bitnet). It is available via anonymous ftp from
  310.     rsovax.ups.circe.fr (130.84.128.100) [.musictex]. It should also
  311.     be available from the archive sites detailed in question 22.
  312.  
  313. 11) What is TUG and TUGboat?
  314.  
  315.     TUG is the TeX User's Group. TUGboat is their newsletter, containing
  316.     useful articles about TeX and METAFONT. TUG also distributes
  317.     TeX-related microcomputer software on disks. Inquiries should be 
  318.     directed to:
  319.                   TeX Users Group
  320.                   P. O. Box 9506
  321.                   Providence, RI 02940 (USA)
  322.                   401-751-7760
  323.                   tug@math.ams.com
  324.  
  325. 12) How do I convert Adobe's afm files to tfm format?
  326.  
  327.     Use the afm2tfm program distributed with dvips, available via
  328.     anonymous ftp from labrea.stanford.edu (36.8.0.47) in ./pub. 
  329.  
  330.     For the Macintosh, there is a program called EdMetrics which does
  331.     the job (and more). It is available free from:
  332.               Blue Sky Research
  333.               534 Southwest Third Avenue
  334.               Portland, Oregon 97204 (USA)
  335.               800-622-8398 or 503-222-9571
  336.  
  337. 13) In LaTeX, how do I get a double-spaced document?
  338.  
  339.     Are you producing a thesis, and trying to obey regulations that were
  340.     drafted in the typewriter era?  LaTeX is a typesetting system, so the
  341.     appropriate design conventions are for ``real books''.  Find whoever
  342.     is responsible for the regulations, and try to get the wording changed
  343.     to cater for typeset theses (e.g., to say ``if using a typesetting 
  344.     system, aim to make your thesis look like a well-designed book'').
  345.  
  346.     If you fail to convince your officials, or want some inter-line 
  347.     space for copy-editing:
  348.      - Try changing \baselinestretch: \renewcommand{\baselinestretch}{1.2}
  349.        may be enough to give officials the impression you've kept
  350.        to their regulations.  Don't try changing \baselineskip: its
  351.        value is reset at any size-changing command.
  352.      - Alternatively, get doublespace.sty from ./pub/tex/latex-style at
  353.        sun.soe.clarkson.edu, or, if you are using the new font selection
  354.        scheme, get doublespace.sty from ymir.claremont.edu
  355.        (134.173.4.23) in [anonymous.tex.inputs.latex-contrib].  There's
  356.        a setspace.sty from fileserv@shsu.edu which is more flexible, and
  357.        consistent with the latest release of LaTeX.  See question 22.
  358.  
  359.     It's not worth going to a lot of trouble.  (If officials won't allow
  360.     standard typographic conventions, you won't be able to produce an
  361.     aesthetically pleasing document anyway!)
  362.  
  363. 14) In LaTeX, how do I include a file in the verbatim environment?
  364.  
  365.     A good way to do this is to use Rainer Sch\"opf's verbatim.sty,
  366.     which provides the command \verbatiminput that takes a file
  367.     as an argument. This file is available from both the Aston archive
  368.     (see question 22) and ymir.claremont.edu (134.173.4.23). Several
  369.     files are needed. From ymir.claremont.edu, get the file 
  370.     [tex.inputs.latex-mainz]verbatim.readme to find out what other
  371.     files you will need.
  372.  
  373.     Another way to do this is to use the alltt environment defined in
  374.     the style file alltt.sty available in ./pub/tex/latex-style from
  375.     sun.soe.clarkson.edu (see question 22).
  376.  
  377. 15) In LaTeX, how do I do Y?
  378.  
  379.     If you can't figure out how to do something in LaTeX after you
  380.     have read the manual very carefully, asked your local LaTeX
  381.     guru, and thought about it, there is a LaTeX help service 
  382.     available. Please note that the way to accomplish something 
  383.     in LaTeX is often by using an appropriate style file, so please
  384.     check this also (see question 16). If none of this works, send mail 
  385.     in English describing your problem to latex-help@cs.stanford.edu. 
  386.     If you haven't gotten a reply to your problem within about a week, 
  387.     send mail to latex-help-coordinator@cs.stanford.edu.
  388.  
  389. 16) Where can I find a TeX macro or LaTeX style file for doing Y?
  390.  
  391.     Before you ask for a TeX macro or LaTeX style file to do something, 
  392.     please search the TeX macro index written by David M. Jones
  393.     (dmjones@theory.lcs.mit.edu) and available via anonymous ftp
  394.     from theory.lcs.mit.edu (18.52.0.92) in ./pub/tex/TeX-index. Those 
  395.     without access to anonymous ftp can send a message containing the
  396.     line ``send tex TeX-index'' to archive-server@theory.lcs.mit.edu.
  397.     The index is an excellent reference document with plenty of 
  398.     cross-references. Also, many of the archive sites mentioned in
  399.     question 22 maintain extensive latex style collections, which you
  400.     can look through if you need something not in the index.
  401.     
  402. 17) How do I generate an index in TeX/LaTeX?
  403.  
  404.     Making an index is not trivial. There are several indexing programs
  405.     which aid in doing this. Some are:
  406.       makeindex - for LaTeX under Unix (but runs under other OS's
  407.          without changes). Available via anonymous ftp from 
  408.          ymir.claremont.edu (134.173.4.23, VMS) in the directory
  409.          [.tex.utilities.makeindex]. A version for the Macintosh is
  410.          available from Johnny Tolliver at 
  411.          tolliver%atf.mfenet@nmfecc.llnl.gov. The Makeindex documentation
  412.          is a pretty good source of information on how to create your
  413.          own index.
  414.       idxtex - for LaTeX under VMS. Available via anonymous ftp from
  415.          ymir.claremont.edu in the directory [.tex.utilities.idxtex].
  416.       texix - for TeX on CMS and Macintosh machines. Available via
  417.          anonymous ftp from ymir.claremont.edu in the directory
  418.          [.tex.utilities.texix].
  419.       indexor - for LaTeX under Unix, VMS, and DOS. Available via
  420.          anonymous ftp from ymir.claremont.edu in [.tex.utilities.indexor].
  421.       texindex - for LaTeX under Unix. Available from
  422.          comp.sources.misc archives in Volume 23.
  423.  
  424. 18) How do I get METAFONT to do what I want it to do?
  425.  
  426.     METAFONT allows you to create your own fonts, and ordinary TeX users
  427.     will never need to use it. METAFONT, unlike TeX, requires some 
  428.     customization. Each output device for which you will be generating 
  429.     fonts needs a mode associated with it. Modes are defined using the 
  430.     mode_def convention described on page 94 of _The METAFONTbook_. So 
  431.     first create a file, which we will call local.mf, containing all the 
  432.     mode_defs you will be using. The file modes.mf by Karl Berry,
  433.     available via anonymous ftp from ftp.cs.umb.edu (192.12.26.23) in
  434.     ./pub/tex is a good starting point for this. Listings of settings for 
  435.     various output devices are also published periodically in TUGboat 
  436.     (see question 11). Now create a plain base file using inimf, plain.mf, 
  437.     and local.mf:
  438.        % inimf
  439.        This is METAFONT....
  440.        **plain                 # you type plain
  441.        (output)
  442.        *input local            # you type this
  443.        (output)
  444.        *dump                   # you type this
  445.        Beginning to dump on file plain....
  446.        (output)
  447.        %
  448.     This should create a base file named plain.base (or something close)
  449.     and should be moved to the directory containing the base files on
  450.     your system.
  451.  
  452.     Now you need to make sure METAFONT loads this base when it starts
  453.     up. If METAFONT loads the plain base by default on your system, then
  454.     you're ready to go. Under Unix, we might, for instance define a 
  455.     command mf which executes ``virmf &plain,'' loading the plain base
  456.     file.
  457.  
  458.     The usual way to create a font with plain METAFONT is to then start 
  459.     it with the line
  460.        \mode=<mode name>; mag=<magnification>; input <font file name>
  461.     in response to the * prompt or on the METAFONT command line. If 
  462.     <mode name> is unknown or omitted, then the mode defaults to proof 
  463.     mode. If this has happened METAFONT will produce an output file
  464.     called <font file name>.2602gf. The <magnification> is a floating 
  465.     point number or magstep (magsteps are defined in _The METAFONTbook_ 
  466.     and _The TeXbook_). If mag=<magnification> is omitted, then the 
  467.     default is 1. For example, to generate cmr10 at 12pt for an epson 
  468.     printer you would type
  469.        mf \mode=epson; mag=1.2; input cmr10
  470.     Note that under Unix the '\' and ';' characters must usually be 
  471.     escaped, so this would typically look something like
  472.        mf \\mode=epson\; mag=1.2\; input cmr10
  473.  
  474.     If you don't have inimf or need a special mode that isn't in the
  475.     base, you can put its commands in a file (e.g., ln03.mf) and invoke
  476.     it on the fly with the \smode command. For example, to create 
  477.     ln03.300gf for an LN03 printer, using the file
  478.     % This is ln03.mf as of 2/27/90
  479.     % mode_def courtesy of John Sauter
  480.     proofing:=0;
  481.     fontmaking:=1;
  482.     tracingtitles:=0;
  483.     pixels_per_inch:=300;
  484.     blacker:=0.65;
  485.     fillin:=-0.1;
  486.     o_correction:=.5;
  487.     (note the absence of the mode_def and enddef commands), you would type
  488.        mf \smode="ln03"; input cmr10
  489.     
  490. 19) Where do I get TeX/LaTeX for machine Y running Q?
  491.  
  492.     Unix - The Unix TeX distribution is no longer available via anonymous
  493.        ftp from one location. An up-to-date version of Unix TeX can
  494.        be assembled, however, by ftp'ing from several different sites.
  495.        If you don't want to do this, you can order it from the 
  496.        University of Washington, for a small fee. Contact:
  497.                   Director
  498.                   Northwest Computing Support Center
  499.                   Thomson Hall, Mail Stop DR-10
  500.                   University of Washington
  501.                   Seattle, WA 98195 (USA)
  502.                   (206)543-6259
  503.        or send electronic mail to Elizabeth Tachikawa at 
  504.        elisabet@max.u.washington.edu (note the ``s''). The fee charged 
  505.        for getting the TeX distribution through the University of 
  506.        Washington helps fund the further development of Unix TeX, so 
  507.        it's a good idea to order it this way. This distribution compiles
  508.        under Ultrix. Executables for the 386/ix are available via 
  509.        anonymous ftp from tik.vtt.fi (130.188.52.2) in 
  510.        ./pub/tex/bin-386ix and from math.berkeley.edu (128.32.183.94) 
  511.        in ./pub/tex386ix.tar.Z.
  512.  
  513.        To get TeX via anonymous ftp, first get the current web2c
  514.        distribution from ftp.cs.umb.edu (192.12.26.23) in ./pub/tex. If you
  515.        plan on using METAFONT, also grab the current version of modes.mf
  516.        (see question 18). The web2c distribution will allow you to create
  517.        initex, virtex, inimf, virmf, bibtex, and several programs for
  518.        manipulating fonts. Next you will need the basic TeX and METAFONT
  519.        macro files, available from labrea.stanford.edu (36.8.0.47) in
  520.        ./pub/tex/lib. The basic BibTeX style files are here as well, in
  521.        ./pub/tex/bibtex. If you want LaTeX, the current distribution is
  522.        available from rusinfo.rus.uni-stuttgart.de (129.69.1.12) in
  523.        ./soft/tex/latex. I recommend LaTeX be installed with the New Font
  524.        Selection Scheme (NFSS) (see question 35).  It resides in
  525.        ./soft/tex/latex-style-supported/nfss.  If you want AMSLaTeX or
  526.        AMSTeX, get them from e-math.ams.com (130.44.1.100) in ./ams.
  527.        Finally, you need fonts. TeX itself needs font files with the
  528.        extension ``.tfm''.  Your output device driver needs fonts in a
  529.        different format, probably ``.pk''. Both ymir.claremont.edu
  530.        (134.173.4.23) and rusinfo.rus.uni-stuttgart.de maintain collections
  531.        of fonts in these formats. These collections contain the necessary
  532.        fonts for the plain format and LaTeX, and other fonts you might
  533.        want.  Alternatively, the necessary font formats can be generated
  534.        from the METAFONT source, either by you, or automatically if you use
  535.        the dvips driver mentioned in question 2. The METAFONT sources are
  536.        available from the ymir and rusinfo archives.  Note that I have
  537.        tried to mention the definitive sources for all the programs above.
  538.        The nearest archive server (see question 22) may have everything
  539.        mentioned above, without having to ftp around the world.
  540.  
  541.     AIX - TeX for the IBM RS6000 running AIX can be found on
  542.        rusinfo.rus.uni-stuttgart.de (129.69.1.12) in
  543.        ./soft/tex/machines/unix/aix3.1.
  544.  
  545.     PC - A TeX package for the PC, including LaTeX, BibTeX, previewers,
  546.        and drivers is available via anonymous ftp from 
  547.        vax.eedsp.gatech.edu (130.207.226.7) in ./pub/TeX. The variety here
  548.        is sbtex version 30 by Wayne Sullivan. EmTeX, another TeX package 
  549.        for the PC by Eberhard Mattes, is available via anonymous ftp from 
  550.        rusinfo.rus.uni-stuttgart.de (129.69.1.12) in 
  551.        ./soft/tex/machines/pc/emtex and also from niord.shsu.edu
  552.        (192.92.115.8) in [.emtex]. This package includes LaTeX, METAFONT,
  553.        BibTeX, etc., as well. Documentation is available in both German 
  554.        and English.
  555.  
  556.        All Public Domain TeX software for the PC is also available 
  557.        through TUG. A catalog is available free from them at the 
  558.        address given in question 11. This collection is maintained by 
  559.        Jon Radel, who will answer technical questions on the material 
  560.        (with no service guarantee). Send electronic mail to jon@radel.com.
  561.  
  562.     Mac - see question 7 for a public domain version. 
  563.  
  564.     TOPS-20 - TeX was originally written on a DEC-10 under WAITS, and so
  565.         was easily ported to TOPS-20. A Distribution that runs on TOPS-20 
  566.         is available via anonymous ftp from science.utah.edu 
  567.         (128.110.198.2) in ./pub/tex/pub/web.
  568.  
  569.     VAX/VMS - VMS executables are available via anonymous ftp from
  570.         ymir.claremont.edu (134.173.4.23) in [.tex.exe]. Source is
  571.         available in [.tex.sources]. Version 3.1 is available in
  572.         [.tex.sources.tex3_1]. Ymir has a mailserver for those without
  573.         ftp access, although executables are not available through it. 
  574.         Send a message containing the line ``help'' to 
  575.         mailserv@ymir.claremont.edu. Standard tape distribution is 
  576.         through DECUS or Maria Code.
  577.  
  578.     Atari - TeX is available for the Atari ST from atari.archive.umich.edu
  579.         (141.211.164.8) in ./atari/tex. If anonymous ftp is not available
  580.         to you, send a message containing the line ``help'' to
  581.         atari@atari.archive.umich.edu. The mail server can uuencode
  582.         binary files. Another version can be obtained via anonymous
  583.         ftp from ifi.informatik.uni-stuttgart.de (129.69.211.1) in
  584.         ./pub/atari.st/tex. There is also lots of TeX stuff for the
  585.         Atari on the rusinfo and ftp.cs.ruu.nl archives mentioned in
  586.         question 22.
  587.  
  588.     Amiga - Disk 1 of the Amiga CommonTeX distribution is available
  589.          via anonymous ftp from ab20.larc.nasa.gov (128.155.23.64)
  590.          in ./amiga/commontex.lzh. The file copying.tex in the 
  591.          distribution contains information on how to obtain the other 
  592.          disks. Also, experimental versions of TeX 3.1 and METAFONT 2.7
  593.          are available in ./incoming/amiga/TEX. There is also a full
  594.          implementation of TeX 3.1 called PasTeX available via anonymous
  595.          ftp from forwiss.uni-passau.de (132.231.1.10) in ./pub/amiga/tex.
  596.  
  597.     Tandy 6000 - If you are interested in building TeX on this machine
  598.          contact Ken Yap (ken@syd.dit.csiro.au), and he'll help you.
  599.  
  600. 20) Where can I get a thesis style for LaTeX?
  601.  
  602.     Thesis styles are usually very specific to your University, so it's
  603.     usually not profitable to ask the whole newsgroup for one. If you
  604.     want to write your own, a good place to start is the ucthesis style
  605.     available in the latex style collection at sun.soe.clarkson.edu
  606.     (see question 22).
  607.  
  608. 21) How do I get symbols for ``the real numbers'', ``the complex numbers'',
  609.     and so on?
  610.  
  611.     These symbols are known as ``blackboard bold'' and are available in
  612.     the AMS fonts ``msam'' (e.g., ``msam10'' for 10pt) and ``msbm''. 
  613.     They replace the older ``msxm'' and ``msym''. The fonts have a large
  614.     number of mathematical symbols to supplement the ones 
  615.     provided by TeX. The fonts are available via anonymous ftp from
  616.     e-math.ams.com (130.44.1.100) in the directory ./ams/amsfonts.
  617.     Two files which load the fonts and define the symbols are provided,
  618.     and both work with either TeX or LaTeX. Questions or suggestions 
  619.     regarding these fonts should be directed to 
  620.     tech-support@math.ams.com.
  621.  
  622.     A set of LaTeX macros for a ``lazy person's'' blackboard bold are:
  623.        \newcommand{\R}{{\sf R\hspace*{-0.9ex}\rule{0.15ex}%
  624.        {1.5ex}\hspace*{0.9ex}}}
  625.        \newcommand{\N}{{\sf N\hspace*{-1.0ex}\rule{0.15ex}%
  626.        {1.3ex}\hspace*{1.0ex}}}
  627.        \newcommand{\Q}{{\sf Q\hspace*{-1.1ex}\rule{0.15ex}%
  628.        {1.5ex}\hspace*{1.1ex}}}
  629.        \newcommand{\C}{{\sf C\hspace*{-0.9ex}\rule{0.15ex}%
  630.        {1.3ex}\hspace*{0.9ex}}}
  631.  
  632. 22) What repositories of TeX material are available, and how can I access
  633.     them?
  634.  
  635.     There are many repositories of TeX material available. Most of them
  636.     also have a mail server, i.e., a program that will send you files
  637.     via electronic mail. Here are some of the better ones:
  638.       - In the US, the archive at ymir.claremont.edu (134.173.4.23) has 
  639.         a lot of PD TeX software, and even if it's not explicitly stated, 
  640.         much of the software mentioned in this document is available there.
  641.         Anonymous ftp is supported, as is a mail server. Unfortunately, 
  642.         executables are not available through the mail server. Send a 
  643.         message containing the line ``help'' to MAILSERV@ymir.claremont.edu.
  644.       - The archive at Clarkson University, although out of date, still has
  645.         some things of interest. Use anonymous ftp to get files from 
  646.         sun.soe.clarkson.edu (128.153.12.3). An archive server is available
  647.         if you can send mail to the United States. Send a one-line message
  648.         ``help'' to archive-server@sun.soe.clarkson.edu and it will send
  649.         you a file describing how to use it more fully. If you have
  650.         problems, contact archive-management@sun.soe.clarkson.edu
  651.       - In the United Kingdom, you can get TeX-related material from the
  652.         UK TeX archive at the University of Aston. (FTP access is also
  653.         available for people on JANET or the Internet. Use anonymous ftp
  654.         to tex.ac.uk (134.151.40.18). You will be placed in the root of
  655.         of the [tex-archive]. Telnet access is also allowed, to permit
  656.         more intelligent browsing. Use the username PUBLIC and the same
  657.         password. A known file is [tex-archive]000directory.list.) For 
  658.         electronic mail access, send a message to texserver@tex.ac.uk. The 
  659.         first non-blank line of the message must contain a valid TeXserver
  660.         command (help, directory, files, whereis, search, or path). The 
  661.         program will then mail you a response notifying you that your 
  662.         request has been received. If you fail to get a response from the
  663.         TeXserver, you may need to use the ``path'' command to help the 
  664.         program out. For Internet users the return address is of the form 
  665.         name%site@nsfnet-relay, while for Bitnet and EARN it is 
  666.         name%site@earn-relay (i.e., include a line that says 
  667.         ``path name%site@nsfnet-relay'' along with a line containing 
  668.         ``help''). Note that the old three hyphen format is obsolete, but 
  669.         still accepted by the program for backward compatibility.
  670.       - ftp.cs.ruu.nl (131.211.80.17) also contains a substantial TeX
  671.         archive with ftp access. To use it via email, send a message
  672.         containing the line ``help'' to mail-server@cs.ruu.nl. This mail 
  673.         server can send binary files in a variety of different formats.
  674.       - In Germany, the host rusinfo.rus.uni-stuttgart.de (129.69.1.12)
  675.         is an anonymous ftp site with much TeX material. In particular
  676.         it is the definitive source for new font selection scheme in
  677.         LaTeX, for emtex (TeX for the IBM PC, see question 19), and contains
  678.         a set of hyphenation patterns for languages other than English. To
  679.         use it via email, send a message containing the line ``help'' to
  680.         mail-server@rusinfo.rus.uni-stuttgart.de.
  681.       - There are LISTSERV facilities for TeX at LISTSERV@DHDURZ1.BITNET. 
  682.         Send a message containing the line ``help'' to this address.
  683.       - Another aggressively maintained archive is FILESERV@SHSU.BITNET.
  684.         Sending a message with the line HELP will get help, and
  685.         SENDME FILELIST will get an annotated listing of all packages 
  686.         available there. The archive is accessible via anonymous ftp to
  687.         the host niord.shsu.edu (192.92.115.8).
  688.       - For users on BITNET, access to anonymous ftp for some files can
  689.         be obtained indirectly by sending mail to BITFTP@PUCC.BITNET.
  690.         Send a message containing the line ``help'' to this address for
  691.         more information.
  692.      
  693.     There is also the DECUS TeX collection, a collection of TeX material
  694.     for VMS, Unix, MS-DOS, and the Macintosh. It is available via 
  695.     anonymous ftp from wuarchive.wustl.edu (128.252.135.4) in ./decus/tex.
  696.     It can also be obtained from the DECUS Library (reference number 
  697.     VS0058) in the US, or through your DECUS office outside of the US. To 
  698.     contact the DECUS Library, send mail or call:
  699.                  The DECUS Program Library
  700.                  219 Boston Post Road BP02
  701.                  Marlboro, MA 01752-1850
  702.                  (508)480-3418
  703.     or send electronic mail to the DECUS TeX Collection Editor, Ted 
  704.     Nieland, at decus_tex@nieland.dayton.oh.us.
  705.      
  706.     Another good source of information is NETWORK SOURCES OF TeX WARE by
  707.     Peter Flynn which appeared in TeXhax, volume 90, issues 45-47 (in
  708.     May 1990).      
  709.  
  710. 23) How do I use PostScript fonts with LaTeX?
  711.  
  712.     The best way to do this is to install the New Font Selection
  713.     Scheme (NFSS) (see question 35), and use the psnfss package
  714.     written by Sebastian Rahtz. It is available from all the major
  715.     archives mentioned in question 22. Unfortunately, on some it is
  716.     known as soton and on others as psnfss. The definitive home for
  717.     it is the UK TeX archive, tex.ac.uk (134.151.40.18) in
  718.     [tex-archive.latex.styles.fontsel.soton]. Other methods for using
  719.     PostScript fonts in LaTeX are cumbersome at best.
  720.  
  721. 24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  722.  
  723.     troff - TROFF-TO-LATEX.TAR-Z is available via anonymous ftp from
  724.       wsmr-simtel20.army.mil (26.2.0.74) in the directory 
  725.       pd2:<unix-c.textproc>. This program, written by Kamal Al-Yahya 
  726.       at Stanford, assists in the translation of a troff document into 
  727.       LaTeX format.  It recognizes most -ms and -man macros, plus most 
  728.       eqn and some tbl preprocessor commands. Anything fancier needs 
  729.       to be done by hand.  Two style files are provided.  There 
  730.       is also a man page (which converts very well to LaTeX :-).  
  731.       The program is copyrighted but free. An enhanced version of this
  732.       program, tr2latex, is available from 
  733.       tupac-amaru.informatik.rwth-acchen.de (137.226.112.31) in
  734.       ./pub/textproc/TeX. The DECUS TeX distribution (see question 22) 
  735.       also contains a program which converts troff to TeX. If you are 
  736.       interested in obtaining a copy of this program without getting the 
  737.       entire DECUS TeX distribution, send the command: SENDME TROFFTOTEX
  738.       in the body of a mail message to FILESERV@SHSU.BITNET
  739.       (FILESERV@SHSU.edu), or use anonymous ftp to the directory 
  740.       [.TROFFTOTEX] on Niord.SHSU.edu (192.92.115.8). 
  741.  
  742.     scribe - Mark James has a copy of scribe2latex he has been
  743.       unable to test but which he will let anyone interested have.
  744.       Send email to mark@bdblues.altair.fr. The program was written
  745.       by Van Jacobson of Lawrence Berkeley Laboratory.
  746.  
  747.     wordperfect -  wp2latex.zip is available on wuarchive.wustl.edu
  748.       (128.252.135.4) in the directory ./mirrors/msdos/tex and on
  749.       wsmr-simtel20.army.mil (26.2.0.74) in the directory pd1:<msdos.tex>.
  750.       This is a PC program written in Turbo Pascal by R. C. Houtepen at
  751.       the Eindhoven University in the Netherlands.  It converts
  752.       WordPerfect 5.0 documents to LaTeX.  Pascal source is included.
  753.       Users find it ``helpful'' and ``decent'' in spite of some
  754.       limitations. It gets high marks for handling font changes.
  755.       Limitations include no indices, table of contents, margins or
  756.       graphics.  It also won't handle the new features of WordPerfect
  757.       5.1, in particular the equation formatter. The program is
  758.       copyrighted but free.
  759.  
  760.       Glenn Geers of the University of Sydney (glenn@qed.physics.su.oz.au)
  761.       is translating wp2latex into C and adding some WordPerfect 5.1
  762.       features, in particular its equation handling.  This is an ongoing
  763.       project; the most recent version can be retrieved via anonymous ftp
  764.       from suphys.physics.su.oz.au (129.78.129.1) in ./wp2latex. It is
  765.       also available by anonymous ftp from ymir.claremont.edu
  766.       (134.173.4.23) in the directory
  767.       [anonymous.tex.ibm_pc.front_ends.wp2latex]. It was posted to
  768.       alt.sources on 8 August 1990.
  769.  
  770.     PC-Write - pcwritex.arc is available on wuarchive.wustl.edu
  771.       (128.252.135.4) in directory mirrors/msdos/tex and on
  772.       wsmr-simtel20.army.mil (26.2.0.74) in directory pd1:<msdos.tex>.
  773.       This is a print driver for PC-Write that ``prints'' a PC-Write V2.71
  774.       document to a TeX-compatible disk file.  It was written by Peter
  775.       Flynn at University College, Cork, Ireland.  It is public domain.  
  776.  
  777.     runoff - Peter Vanroose (vanroose@esat.kuleuven.ac.be) has 
  778.       written a RUNOFF-to-TeX conversion program in VMS Pascal.  It is 
  779.       available from comp.text archives (they do exist, don't they?  The 
  780.       program was submitted in December 1987) or from the author 
  781.       (peter@dit.lth.se) or from Mark James (mark@bdblues.altair.fr).
  782.  
  783.     refer/Tib - There are a few programs for converting bibliographic data 
  784.       between BibTeX and refer/Tib formats.  They are available via 
  785.       anonymous ftp from ftp.ai.mit.edu (128.52.32.6) in the 
  786.       directory ./pub/refer-to-bibtex.  In spite of the directory name, 
  787.       it also contains a  shell script to convert BibTeX to REFER as 
  788.       well. This collection is maintained by 
  789.       Thomas M. Breuel (tmb@ai.mit.edu).
  790.  
  791.     RTF - A program for converting Microsoft's Rich Text Format to TeX
  792.       is available via anonymous ftp from astro.princeton.edu
  793.       (128.112.128.131) in ./pub/rtf2TeX.tar.Z. It was written and is
  794.       maintained by Robert Lupton (rhl@astro.princeton.edu).
  795.  
  796.     Microsoft Word - A rudimentary program for converting MS-Word
  797.       to LaTeX is wd2latex, for MS-DOS, available via anonymous ftp
  798.       from ymir.claremont.edu (134.173.4.23) in
  799.       [.tex.ibm_pc.front_ends]. Probably a better idea, however, 
  800.       is to convert the document to RTF format and use the RTF 
  801.       converter mentioned above.
  802.     
  803.     In addition, a group at Ohio State University is working on a common
  804.     document format based on SGML.  In theory any format could be
  805.     translated to or from this one.  Also, Framemaker supposedly has
  806.     ``import filters'' to aid in the translation from alien formats
  807.     (presumably including TeX) to Framemaker; perhaps other desktop
  808.     publishing programs have similar things.
  809.       
  810. 25) How do I get a file into the major style repositories?
  811.     
  812.     Use anonymous ftp to rusinfo.rus.uni-stuttgart.de (129.69.1.12) and 
  813.     transfer the file into the directory ./soft/tex/incoming. Then send 
  814.     notification texinfo1@rusinfo.rus.uni-stuttgart.de. From there
  815.     it will propagate to other inclusive archives. If you cannot use
  816.     ftp, mail your contribution to sty-mgr@shsu.edu and it will be
  817.     passed along. You will make everyone's life easier if you choose a
  818.     descriptive and unique name for your submission, so it's probably
  819.     good idea to browse through some of the style repositories mentioned
  820.     in question 22 to insure your style file's name is not already
  821.     in use.
  822.  
  823. 26) Where can I get font Y?
  824.  
  825.     A comprehensive list of METAFONT fonts is posted to Comp.fonts
  826.     about once every six weeks by Lee Quin (lee@sq.sq.com). It contains
  827.     both commercial fonts and fonts available via anonymous ftp. Most
  828.     of the fonts available via anonymous ftp are available from
  829.     ymir.claremont.edu (134.173.4.23). Also, the file wujastyk.txh
  830.     on ymir.claremont.edu in [anonymous.tex.mf] is a copy of
  831.     Dominik Wujastyk's font article, and contains information on
  832.     METAFONT fonts as well.
  833.  
  834. 27) Where can I get a dvi driver for the HP LaserJet?
  835.  
  836.     PC - The emtex package mentioned in question 19 contains a driver for
  837.        the LaserJet, dvihplj. The driver is available by itself from 
  838.        ymir.claremont.edu (134.173.4.23) in [.tex.ibm_pc.drivers.emtex]
  839.        in the files dvidrv[123].zip.
  840.  
  841.     Version 2.10 of the Beebe drivers support the LaserJet. These drivers
  842.     will compile under Unix, VMS, and on the Atari ST and DEC-20's. They
  843.     are available from science.utah.edu (128.110.198.2) in ./pub/tex/dvi
  844.     and from ymir.claremont.edu (134.173.4.23) in 
  845.     [.tex.drivers.beebe2_10].
  846.  
  847. 28) TeX and LaTeX are hyphenating words weirdly. What can I do?
  848.  
  849.     You have a version mismatch problem. The hyphenation algorithm changed
  850.     between version 2.9 and 3.0. If you are using TeX version 3.0 or
  851.     later, make sure you have plain.tex and lplain.tex files with a
  852.     version number of at least 3.0.
  853.  
  854.     For those of you curious about the change, here's what happened:
  855.     in versions of TeX before 3.0 the hyphenation algorithm would not
  856.     break a word if the part before the break was not at least two
  857.     characters long, and the part after the break at least three 
  858.     characters long. Starting with version 3.0 two integer parameters,
  859.     \lefthyphenmin and \righthyphenmin, control the length of these
  860.     fragments. These are set to 2 and 3, respectively, in the new
  861.     plain and lplain formats. They can be set to any value, of course,
  862.     but if \lefthyphenmin + \righthyphenmin is greater than 62, all
  863.     hyphenation is suppressed.
  864.  
  865. 29) How can I convert a TeX or LaTeX file into a plain ASCII file,
  866.     with all the formatting intact, a la nroff?
  867.  
  868.     This isn't easy. If anyone has a good solution, please email me.
  869.     One possibility is to use screen.sty, available from all the
  870.     major archives. However you need a program called crudetype to 
  871.     process the resulting dvi file. It is available from 
  872.     emx.utexas.edu (128.83.1.33) in
  873.     ./pub/mnt/source/tex/tex-3.0/DVIware/lpr-viewers/crudetype and
  874.     from rusinfo.rus.uni-stuttgart.de (129.69.1.12) in 
  875.     ./serv2/soft/tex/drivers/screenview. Another possibility is to 
  876.     use the LaTeX-to-ASCII conversion program, l2a, available from 
  877.     comp.sources.misc archives (one archive site is ftp.uu.net 
  878.     (137.39.1.2)), although this is really more of a de-TeXing
  879.     program. Still another possibility is to use the dvi2tty program
  880.     mentioned in question 4, and save the output to a file. Finally,
  881.     if you are running under Unix and have C++, you might try Jonathan 
  882.     Monsarrat's LameTeX package (which actually does much more than this),
  883.     available from wilma.cs.brown.edu (128.148.31.66) in 
  884.     ./pub/lametex.tar.Z.
  885.  
  886.     Ralph Droms is interested in working with a TeXnician on this
  887.     problem, and has a somewhat usable package to do it. If you
  888.     are interested, send electronic mail to droms@sol.bucknell.edu.
  889.  
  890. 30) How do I enlarge TeX? I keep getting `memory capacity exceeded'
  891.     errors.
  892.  
  893.     Most of the time, a ``memory capacity exceeded'' error can be fixed
  894.     without enlarging TeX.  The most common causes are unmatched braces,
  895.     extra-long lines, and poorly-written macros.  Extra-long lines
  896.     are often introduced when files are transferred incorrectly between
  897.     operating systems.  (The tell-tale sign of an extra-long line error
  898.     is when the complaint is that the `buf_size' has overflowed.)
  899.  
  900.     If you really need to extend your TeX's capacity, the proper method
  901.     varies depending on your installation.  In the purest form, you
  902.     change the parameters in module 11 (``The following parameters can
  903.     be changed...'')  In less pure forms, you might need to modify a
  904.     change file, or perhaps change some environment variables.  Consult
  905.     the documentation that came with your particular implementation.
  906.  
  907. 31) In LaTeX, I used \pagestyle{empty}, but the first page is still 
  908.     numbered. What do I do?
  909.  
  910.     If you see this problem, you are using the \maketitle command too.
  911.     This is a bug in LaTeX. The workaround is to put the command
  912.     \thispagestyle{empty} immediately after the \maketitle command, with
  913.     no blank line between them.
  914.  
  915. 32) Where do I find documentation about BibTeX?
  916.  
  917.     BibTeX, a program originally designed to produce bibliographies in
  918.     conjunction with LaTeX, is explained in Section 4.3 and Appendix B 
  919.     of Leslie Lamport's LaTeX manual.  The ``BibTeXing'' document, 
  920.     contained in the file btxdoc.tex, gives a more complete description.
  921.  
  922.     The ``Designing BibTeX Styles'' document, contained in the file 
  923.     btxhak.tex, explains the postfix stack-based language used to
  924.     write BibTeX styles (.bst files).  The file btxbst.doc is the template
  925.     file for the four standard styles (plain, abbrv, alpha, unsrt). It
  926.     also contains the documentation for them.
  927.  
  928.     The current Unix-BibTeX man page, contained in the file
  929.     bibtex.1, was updated in January 1992 and is about one page long.
  930.     There's an old and obsolete version floating around, written in 1985
  931.     before ``BibTeXing'' and ``Designing BibTeX Styles'' appeared, that is
  932.     several pages long.  You should ignore it (or throw it away), since it
  933.     describes BibTeX version 0.98, style files of which are incompatible 
  934.     with the current version, 0.99 (to be precise, 0.99c).
  935.  
  936.     All files mentioned in this answer are available via anonymous ftp
  937.     from labrea.stanford.edu (36.8.0.47) in the BibTeX ftp area, tex/bibtex.
  938.     All the non-Unix files should be available on any system that runs
  939.     BibTeX; if they're not on your system, please complain to your BibTeX
  940.     installer or to your distribution source.
  941.  
  942. 33) How do I use BibTeX with plain TeX?
  943.  
  944.     The file btxmac.tex contains TeX macros and documentation for using
  945.     BibTeX with plain TeX, either directly or with Karl Berry's Eplain
  946.     package. It is available via anonymous ftp from labrea.stanford.edu
  947.     (36.8.0.47) in tex/bibtex (see question 32 for more information about
  948.     BibTeX).
  949.  
  950. 34) How do I draw Feynman diagrams in LaTeX?
  951.  
  952.     Michael Levine's macro package for drawing Feynman diagrams in LaTeX
  953.     is available via mail-server from physics.utoronto.ca. Send a message
  954.     containing the line ``send INDEX'' to mail-server@physics.utoronto.ca
  955.     for information on how to retrieve it.
  956.  
  957. 35) What is the New Font Selection Scheme (NFSS)?
  958.  
  959.     NFSS is an extension to LaTeX written by Frank Mittelbach and Rainer
  960.     Sch\"opf. It is described in TUGboat, volume 10 (1989), No. 2.
  961.     In traditional typesetting, fonts are described by four parameters:
  962.     the family (e.g., computer modern), the series (i.e., the weight and
  963.     width of the font, like light or bold), the shape (e.g., italic), and
  964.     the size. NFSS is a mechanism allowing the user to change any of these
  965.     independently. NFSS makes it relatively easy to use nonstandard fonts
  966.     such as the PostScript ones with LaTeX, and easy to change math fonts.
  967.     It also allows dynamic loading of fonts at runtime (not when the
  968.     format file is created). It is backward compatible with the old font
  969.     selection scheme.
  970.  
  971.     NFSS will be part of version 2.10 of LaTeX. Currently, you need
  972.     to create a new format file to use it. It is available via
  973.     anonymous ftp from all the major archives mentioned in question
  974.     22. Its home is on rusinfo.rus.uni-stuttgart.de (129.69.2.12) in
  975.     ./soft/tex/latex-style-supported/nfss. NFSS can be used in plain
  976.     TeX as well, through an interface written by Wayne Sullivan.
  977.  
  978.     There is one caveat that applies to LaTeX documents written for
  979.     the OLD scheme: some of them use special styles for special fonts
  980.     which will not work under the NFSS.
  981.  
  982. 36) In LaTeX, my cross-references for floats (figures and tables) are
  983.     incorrect. What's wrong?
  984.  
  985.     The \label command must come after the \caption command, or
  986.     be part of it. For example,
  987.        \begin{figure}               \begin{figure}
  988.        \caption{A Figure}    or     \caption{A Figure\label{fig}}
  989.        \label{fig}                  \end{figure}
  990.        \end{figure}
  991.  
  992. 37) I want to change the margins in LaTeX. What can I do?
  993.  
  994.     This answer first helps you change the margins throughout a
  995.     document, then tells you how to change the margins in a portion
  996.     of the document.
  997.  
  998.     Perhaps the easiest way to get more out of a page in LaTeX is to
  999.     get fullpage.sty, available from all the major archive servers
  1000.     mentioned in question 22. This sets the margins of the page identical
  1001.     to those of Plain TeX, i.e., 1-inch margins at all four sides of the
  1002.     paper. It also contains an adjustment for A4 paper.
  1003.  
  1004.     Here is a brief explanation of what's going on with the page
  1005.     parameters in LaTeX. They are explained in section C.4.2 of the
  1006.     LaTeX manual (p. 163). The margin parameters represent measurements
  1007.     made to the DVI file. The origin in DVI coordinates is one inch
  1008.     from the top of the paper and one inch from the left side. This
  1009.     explains the ``one inch less than'' terminology used in the LaTeX
  1010.     manual. In DVI coordinates, positive horizontal measurements extend
  1011.     right across the page, and positive vertical measurements extend down
  1012.     the page. Thus, for margins closer to the left and top edges of the
  1013.     page than 1 inch, the corresponding parameters, e.g.,
  1014.     \evensidemargin, \oddsidemargin, \topmargin, can be set to negative
  1015.     values.
  1016.  
  1017.     Finally, to change the margins of a document within the document,
  1018.     modifying the parameters listed on page 163 will not work. They
  1019.     can only be changed in the preamble of the document, i.e, before
  1020.     the \begin{document} statement. To adjust the margins within a
  1021.     document we define an environment which does it:
  1022.       \newenvironment{changemargin}[2]{\begin{list}{}{
  1023.          \setlength{\topsep}{0pt}\setlength{\leftmargin}{0pt}
  1024.          \setlength{\rightmargin}{0pt}
  1025.          \setlength{\listparindent}{\parindent}
  1026.          \setlength{\itemindent}{\parindent}
  1027.          \setlength{\parsep}{0pt plus 1pt}
  1028.          \addtolength{\leftmargin}{#1}\addtolength{\rightmargin}{#2}
  1029.          }\item }{\end{list}}
  1030.     This environment takes two arguments, and will indent the left
  1031.     and right margins by their values, respectively. Negative values
  1032.     will cause the margins to be widened, so
  1033.     \begin{changemargin}{-1cm}{-1cm} widens the left and right margins
  1034.     by 1cm.
  1035. -- 
  1036. Bobby Bodenheimer                @hot.caltech.edu
  1037. // ARPA  : bobby@hot.caltech.edu                |
  1038. // BITNET: bobby@caltech.bitnet                 | Woof!
  1039. // UUCP  : {amdahl,ames!elroy}!cit-vax!bobby    | 
  1040.